@import '../sass/common.scss';
.homepage {
  //header
  .mint-header{
    position: fixed;
    left: 0;
    top:0;
    width: 100%;
    z-index: 10;
  }
  .diyHeader{
    position: fixed;
    left: 0;
    top: 0;
    background: $baseColor;
    width: 100%;
    height: 40px;
    z-index: 10;
    $boxWidth:40px;
    .headerbox{
      width: $boxWidth;
      height: 100%;
      &.leftbox{
        float: left;
      }
      &.rightbox{
        float: right;
      }
      img{
        display: block;
        width: 26px;
        height: 26px;
        margin: 0 auto;
        margin-top: 7px;
      }
    }
    .centerbox{
      display: inline-block;
      width: calc(100% - #{$boxWidth} * 2);
      height: 100%;
      input{
        display: block;
        width: 100%;
        height: 26px;
        border-radius: 13px;
        margin: 7px auto;
        border: 0;
        text-align: center;
        font-size: 12px;
      }
    }
  }
  .mui-contents {
    padding-top: 80px; //二级切换标签
    .tagnav {
      $height: 40px;
      position: fixed;
      top: 40px;
      @include flex;
      width: 100%;
      height: $height;
      background: $basewhiteColor;
      color: $fontColor;
      z-index: 100;
      span {
        position: relative;
        @include flex-1;
        line-height: $height;
        text-align: center;
        &.on {
          color: $baseColor;
          &:after {
            $indent: 20px;
            position: absolute;
            bottom: 0;
            left: $indent/2;
            content: '';
            width: calc(100% - #{$indent});
            height: 2px;
            background: $baseColor;
          }
        }
      }
    }
  }
}
